<%@page import="com.wanmait.cookBook.vo.FoodDetails"%>
<%@page import="com.wanmait.cookBook.vo.Cook"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%String path = request.getContextPath(); %>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>    
<meta name="keywords" content="巴沙鱼番茄汤,巴沙鱼番茄汤的做法,巴沙鱼番茄汤的家常做法,巴沙鱼番茄汤怎么做,巴沙鱼番茄汤的做法步骤,巴沙鱼番茄汤的最正宗做法,巴沙鱼番茄汤怎么做好吃" />
<meta name="description" content="1.材料准备好；番茄清洗干净，选成熟度好的番茄，肉厚汁多，口感酸甜；巴沙鱼柳一般为冰冻的，需要提前取出室温下解冻。2.番茄切块，是否去皮可随意。3.巴沙鱼切粗条，放少许淀粉，抓捏均匀；4.炒锅中倒少许……" />
<meta name="renderer" content="webkit">
<meta http-equiv="mobile-agent" content="format=xhtml; url=https://m.meishichina.com/recipe/556348/">
<link rel="alternate" media="only screen and (max-width: 640px)"  href="https://m.meishichina.com/recipe/556348/">
<link rel="shortcut icon" href="https://static.meishichina.com/v6/img/lib/f.ico"/>
<link rel="apple-touch-icon" href="https://static.meishichina.com/v6/img/lib/wapico.png" />
<link rel="stylesheet" type="text/css" href="https://static.meishichina.com/v6/css/lib/all3.css?v1=2017-10-24">
<link rel="stylesheet" type="text/css" href="https://static.meishichina.com/v6/css/app/newrecipe/recipe_newone.css?v1=2019-05-07">
<link rel="stylesheet" type="text/css" href="https://static.meishichina.com/v6/css/lib/comment.css?v1=2015-07-16">
<script type="text/javascript" src="https://static.meishichina.com/v6/js/lib/dfp-content-5.js"></script>
<style>
.comment-post-tools .comment-btn{background: #ff6767}
.comment-nav{border-left: 2px solid #ff6767;}
</style>


</head>
<body>

			
</div>
<!-- logo+nav -->
<div class="w logo_wrap2" style="margin-top:-30px;">
	<div class="logo_inner left">
		<a href="" title="美食天下">美食天下</a>
	</div>
	<div class="logo_current left">
		<h1><a href="" title="菜谱">菜谱</a></h1>
	</div>
<div class="logo_search right">
<div class="searchBox J_search"><a href="javascript:;" title="搜索" class="search_Btn J_searchBTN right" id="search">搜索</a><input type="text" id="q" class="search_Text J_searchTxt right">
</div>
	</div>
	<div class="logo_nav">
	<a  href="">菜谱首页<i></i><b></b></a>
	<a class=on href="">分类<i></i><b></b></a>
	<a  href="">菜单<i></i><b></b></a>
	<span style="float: left; height:18px; margin:23px 4px 0; border-right: 1px solid #ddd;"></span>
	<a target="_blank" href="" title="食材">食材</a>
	</div>
</div>

<div class="w mt10 clear">
<iframe width="100%" height="90" frameborder="0" scrolling="no" src="https://static.meishichina.com/v6/h5/t1_1.html?v=2"></iframe>
</div>
<div class="showPersonalCook" style="width:990px;overflow:hidden; margin:0 auto;">
<div class="userTop clear">
<% Cook cook = (Cook)request.getAttribute("cook"); %>
   <!-- 菜名 -->
	<div style="font-size:35px;font-weight:600;float:left;"><span><%=cook.getCookName() %></span></div>
	<div style="float:left;margin-left:700px;">
	
	<!-- 用户图片 -->
		<img src="<%=path %>/front/userImages/<%=cook.getUserinfo().getUserFace() %>" />
	<!-- 用户名 -->
		<span class="userName" id="recipe_username"><%=cook.getUserinfo().getUserName() %></span>
	</div>
</div> 
			<div class="space_box_home">
					
			<div class="recipDetail">
						
			<input type="hidden" id="recipe_id" value="556348">
			<input type="hidden" id="recipe_uid" value="7513584">
			<input type="hidden" id="recipe_title" value="巴沙鱼番茄汤">
			<div class="recipe_De_imgBox" id="recipe_De_imgBox">
			<!-- 图片 -->
			<a class="J_photo" title="巴沙鱼番茄汤的做法"><span></span><img src="<%=path %>/front/cookFaceImage/<%=cook.getCookPicture() %>" alt="巴沙鱼番茄汤的做法"> </a>
			<p class="J_photo">
				<span class="De_bg">&nbsp;</span>
				<span class="De_photo">4张图片</span>
			</p>
			</div>
						 
				<blockquote class="block_txt" id="block_txt">
				<div id="block_txt1"><span class="txt_tart">“</span><%=cook.getCookIntroduce() %><span class="txt_end">” </span>
				</div>
			</blockquote>
<div class="mo mt20">
<h3>食材明细</h3>
</div>
 
 
 <fieldset class="particulars">
	<legend>食材和用量</legend>
	
<!-- 食材用量、明细 -->
<div class="recipeCategory_sub_R clear">
	<ul>
		<% for(FoodDetails foodDetails:cook.getAllFoodDetails())
		{
		%>
			<li>		
			<span class="category_s1" ><%=foodDetails.getFoodName() %></span>
			<span class="category_s2"><%=foodDetails.getFoodLevel() %></span>
		 </li>
		<% 	
		}
		%>
		
		
	 </ul>
</div>
</fieldset>
      <div class="recipeCategory_sub_R mt30 clear">
<ul>
<li>
<span class="category_s1">
<%=cook.getTaste().getTasteName() %>
	</span>
<span class="category_s2">口味</span>
</li>
<!-- 难易程度 -->
<li>
<span class="category_s1">
	<%switch(cook.getDifficultyLevel()){
		case(1):
			%>简单<% break;
		case(2):
			%>初级<% break;
		case(3):
			%>中级<% break;
		case(4):
			%>高级<% break;
		}%>
</span>
<span class="category_s2">难度</span>

</li>
</ul>
</div>
					
<div class="mo mt20">
<h3><%=cook.getCookName() %>的做法步骤</h3>
</div>	
<div style="font-size:16px;" > 
“<%=cook.getCookStep() %>”	
</div>		
 </div>
	  

</div>

<div style="margin-top:100px;">

</div>
</body>
</html>